package scct.mds.model;

public class Foods {
    int id;
    String name;
    String typeid;
    String barndid;
    double price;
    int num;
    int status;
    int promote;
    long addtime;

    public Foods(int id, String name, String typeid, String barndid, double price, int num, int status, int promote, long addtime) {
        this.id = id;
        this.name = name;
        this.typeid = typeid;
        this.barndid = barndid;
        this.price = price;
        this.num = num;
        this.status = status;
        this.promote = promote;
        this.addtime = addtime;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTypeid() {
        return typeid;
    }

    public void setTypeid(String typeid) {
        this.typeid = typeid;
    }

    public String getBarndid() {
        return barndid;
    }

    public void setBarndid(String barndid) {
        this.barndid = barndid;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public int getPromote() {
        return promote;
    }

    public void setPromote(int promote) {
        this.promote = promote;
    }

    public long getAddtime() {
        return addtime;
    }

    public void setAddtime(long addtime) {
        this.addtime = addtime;
    }
}
